package com.car.loan.project.xr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.car.loan.project.xr.domain.OverdueAdvancesLog;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author huangding
 * @date 2020/2/26 22:34
 */
@Repository
public interface OverdueAdvancesLogMapper extends BaseMapper<OverdueAdvancesLog> {

    @Select("select * from xr_overdue_advances_log where loan_id =#{loanId}")
    List<OverdueAdvancesLog> selectByLoanId(@Param("loanId") long loanId);

}
